<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>报表</title></head>
<body>
    <form th:action="@{/leaveData/file}" method="post" enctype="multipart/form-data">

        上传文件：<input name="id" th:type="file" th:name="file"/>

        <button th:onsubmit="">提交</button>
    </form>
</body>
</html>